#ifndef _CRC_CALC_H_
#define _CRC_CALC_H_

//#include "stm32f4xx_hal.h"
#include "stdint.h"

uint8_t middle_cal_crc8(uint8_t *pdata, uint16_t Length);
uint16_t  middle_cal_crc16( uint16_t init_val, const void *pdat, uint32_t Length );
uint32_t middle_cal_crc32( const void *pdat, uint32_t Length );


#endif

/**** Copyright (C)2022 Liu Jiahuan. All Rights Reserved **** END OF FILE ****/

